<div class="container">



<div class="row">
    <div class="col-md-12">    
        <ol class="breadcrumb">
            <li>
                <a href="<?=base_url('main')?>">首页</a>
            </li>
            <li class="active">Tags</li>
        </ol>
    </div>
</div>






<div class="row">

    <?php foreach($tag_group_array as $tag_group_key => $tag_group_value){ ?>

            <div class="col-md-2">

                    <p>
                        Group <?=$tag_group_key?> - 
                        <a href="<?=base_url('main/tag_add/') . $tag_group_key?>">[+]</a>
                    </p>

                    <table class="table table-condensed" style="border:1px solid #000000;">

                            <tr>
                                <th style="border:1px solid #000000;">序</th>
                                <th style="border:1px solid #000000;">标题</th>
                            </tr>

                            <?php foreach($tag_group_value as $tag_key => $tag_value){ ?>
                                <tr>
                                    <td style="border:1px solid #000000;"><?=$tag_value["tag_order"]?></td>
                                    <td style="border:1px solid #000000;">
                                        <a href="<?=base_url('main/tag/') . $tag_value["tag_id"]?>"><?=$tag_value["tag_title"]?></a> - 
                                        <a href="<?=base_url('main/tag_edit/') . $tag_value["tag_id"]?>">Edit</a>
                                    </td>
                                </tr>
                            <?php } ?>
                    </table>

            </div><!-- .col-md-2 -->

    <?php } ?>

</div><!-- .row -->




</div>